#define LAMP1pin 6
#define LAMP2pin 5
#define LOAD1pin 7


#ifndef protocol_h
#define protocol_h

class protocol {
    private:
		int intTemp;
		int cnt;
		char rxCommand;
		int command;
		char state;
		char address;
	   /*int stat;   
           char adr;
           char answer[20];
           int value;
           int cnt;
           char rxadr;
           int chcnt;
           void doRequest();
           void doWait();
           void doDefault();*/
    public:
        protocol();
		void setTemp(int temp);
		int getTemp();
        void start(long speed);
		void sendInternalTemp();
		void readMessage(char incoming);
        /*void execute();
        void doWaitAdr();
        void doWaitCmd();*/
};        
#endif
